package com.xindaoapp.happypet.bean;

/**
 * 消息中心信息 ==============返回参数说明 <br/>
 * id = 消息ID<br/>
 * type = 消息类型（app_pm：私信,post：回复,system：系统）共三种<br/>
 * authorid = 发送人ID<br/>
 * author = 发送人昵称<br/>
 * isnew = 新消息（1是0否）<br/>
 * from_idtype = 特殊类型（如果是私信：fa=我对谁说,shou=谁对我说）<br/>
 * message = 发送的内容<br/>
 * addtime = 消息时间<br/>
 * userface = 用户头像<br/>
 * 
 * tid = (帖子详情页用) 帖子ID<br/>
 * curpage = （跳楼用）帖子第几页<br/>
 * curposition =（跳楼用）帖子第几楼<br/>
 * 
 * @author chenghao
 * 
 */
public class MessageCenterInfo {
    public String id;
    public String type;
    public String authorid;
    public String author;
    public int isnew;
    public long dateline;
    public String from_idtype;
    public String mymessage;
    public String tid;
    public String pid;
    public String subject;
    public String message;
    public String addtime;
    public String userface;
    public int curpage;
    public int curposition;
    public int from_num;
    public String from_id;



    public MessageCenterInfo() {
        super();
        // TODO Auto-generated constructor stub
    }

    @Override
    public String toString() {
        return "MessageCenterInfo [id=" + id + ", type=" + type + ", authorid=" + authorid
                + ", author=" + author + ", isnew=" + isnew + ", dateline=" + dateline
                + ", from_idtype=" + from_idtype + ", mymessage=" + mymessage + ", tid=" + tid
                + ", pid=" + pid + ", subject=" + subject + ", message=" + message + ", addtime="
                + addtime + ", userface=" + userface + ", curpage=" + curpage + ", curposition="
                + curposition + ", from_num=" + from_num + "]";
    }

    public MessageCenterInfo(String id, String type, String authorid, String author, int isnew,
            long dateline, String from_idtype, String mymessage, String tid, String pid,
            String subject, String message, String addtime, String userface, int curpage,
            int curposition, int from_num, String from_id) {
        super();
        this.id = id;
        this.type = type;
        this.authorid = authorid;
        this.author = author;
        this.isnew = isnew;
        this.dateline = dateline;
        this.from_idtype = from_idtype;
        this.mymessage = mymessage;
        this.tid = tid;
        this.pid = pid;
        this.subject = subject;
        this.message = message;
        this.addtime = addtime;
        this.userface = userface;
        this.curpage = curpage;
        this.curposition = curposition;
        this.from_num = from_num;
        this.from_id = from_id;
    }



}
